/*
 * @Author: hashMi 854059946@qq.com
 * @Date: 2023-10-25 20:46:44
 * @LastEditors: hashMi 854059946@qq.com
 * @LastEditTime: 2023-11-04 10:43:10
 * @FilePath: /guiguzhenxuan/src/main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'virtual:svg-icons-register'
import gloablComponent from './components/index'
import '@/styles/index.scss'
import router from '@/router'
import pinia from '@/store'
import 'element-plus/dist/index.css'

// @ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

import App from './App.vue'

const app = createApp(App)

app.use(gloablComponent)

app.use(router)

app.use(pinia)

app.use(ElementPlus, {
  locale: zhCn,
})

app.mount('#app')
